/*
 * Copyright 2013-2019 Xia Jun(3979434@qq.com).
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 ***************************************************************************************
 *                                                                                     *
 *                        Website : http://www.farsunset.com                           *
 *                                                                                     *
 ***************************************************************************************
 */
package com.workcell.workdata.im.constant;

public enum ValidationCodeAction {

	/**
	 * 验证码类型-用户登录事件
	 */
	LOGIN(100,"登录短信验证码","[BlackGlobal]: Your login validation code is : %s"),

	/**
	 * 验证码类型-用户注册事件
	 */
	REGISTER(101,"注册短信验证码","[BlackGlobal]: Your register validation code is : %s"),

	/**
	 * 验证码类型-找回密码事件
	 */
	FORGOT(102,"重置密码短信验证码","[BlackGlobal]: Your reset password validation code is : %s");

	private final int action;

	private final String template;

	private final String description;

	ValidationCodeAction(int action , String description, String template){
		this.action = action;
		this.description = description;
		this.template = template;
	}

	public int getAction() {
		return action;
	}

	public String getTemplate() {
		return template;
	}

}
